a='rexxsupport.library';if ~show('l',a) then if ~addlib(a,0,-30) then exit
gu 70;a=result;gu 1302246;b=result;if a='' then a=upper(b);b=index('W WH WHO',left(a,3))
if b=0 then do;tr 'n1c9MISSING ARGUMENT!';exit;end;v=b%3+1;vw=word('SHORT NORMAL LONG',v);call SETUP
changewhere "CNet Who Config";call READCONFIG;signal SCREEN1
START:;se 'z7c4'it.sc.it'z0';gc;a=result
START2:;do 2;mg;b=result;end;if a=d2c(13) then signal START3
if b='A' then do;ii=it;do until gh.sc.it=0;a=pos(right(it,2,'0')'-',zU.sc)+3;it=strip(substr(zU.sc,a,2),'l','0');end;end
if b='B' then do;ii=it;do until gh.sc.it=0;a=pos(right(it,2,'0')'-',zD.sc)+3;it=strip(substr(zD.sc,a,2),'l','0');end;end
if b='C' then do;ii=it;if index(z.sc,' '||it||' ')>0 then do;do until gh.sc.it=0;a=pos(right(it,2,'0')'-',zR.sc)+3;it=strip(substr(zR.sc,a,2),'l','0');end;end;end
if b='D' then do;ii=it;if index(z.sc,' '||it||' ')>0 then do;do until gh.sc.it=0;a=pos(right(it,2,'0')'-',zL.sc)+3;it=strip(substr(zL.sc,a,2),'l','0');end;end;end
if index('ABCD',b)>0 then do;se 'z4c7'it.sc.ii'z0';se 'z4c7'it.sc.it'z0';end;signal START
START3:;if sc=1 then signal MAIN;if sc=2 then signal COLORS;if sc=3 then signal TOGGLES;if sc=4 then signal GOODBYE
TOGGLES4:;if s3.1=0 then s3.1=1;else s3.1=0;save=1;se '3Hc3'left(subword('No Yes',s3.1+1,1),3);signal START
TOGGLES5:;if s3.2=0 then s3.2=1;else s3.2=0;save=1;se '3Hc3'left(subword('No Yes',s3.2+1,1),3);signal START
TOGGLES6:;if s3.3=0 then s3.3=1;else s3.3=0;save=1;se '3Hc3'left(subword('No Yes',s3.3+1,1),3);signal START
TOGGLES7:;if s3.4=0 then s3.4=1;else s3.4=0;save=1;se '3Hc3'left(subword('No Yes',s3.4+1,1),3);signal START
TOGGLES8:;if s3.5=0 then s3.5=1;else s3.5=0;save=1;se '23Hc3'left(subword('No Yes',s3.5+1,1),3);signal START
TOGGLES9:;if s3.10=0 then s3.10=1;else s3.10=0;save=1;se '23Hc3'left(subword('No Yes',s3.10+1,1),3);signal START
TOGGLES10:;if s3.11=0 then s3.11=1;else s3.11=0;save=1;se '23Hc3'left(subword('No Yes',s3.11+1,1),3);signal START
TOGGLES11:;call open(f1,'pfiles:Who/IdlePorts','r');a=word(readln(f1),1);do i=1 to a;b=readln(f1);parse var b p'|'info;call setclip('IdleWhoB'p,info);end i;call close(f1);tr 'b1';signal START
TOGGLES12:;if s3.9=0 then s3.9=1;else s3.9=0;save=1;se '5Hc3'left(subword('No Yes',s3.9+1,1),3);signal START
TOGGLES13:;if s3.6=0 then s3.6=1;else s3.6=0;save=1;se '5Hc3'left(subword('No Yes',s3.6+1,1),3);signal START
TOGGLES14:;se '5H';call EDIT(s3.7,2,2);if result>'' then s3.7=result;save=1;se '5Hc3'left(s3.7,2);signal START
TOGGLES15:;se '5H';call EDIT(s3.8,2,2);if result>'' then s3.8=result;save=1;se '5Hc3'left(s3.8,2);signal START
TOGGLES16:;se '55H';call EDIT(fake%10,3,2);if result>'' then fake=result*10;save=1;se '55Hc3'left(fake%10,3);signal START
if v=2 then do;tr 'f1n3'c.1||c.2||left(s0.1,4)'z0 'c.3||c.4||left(s0.2,20)'z0 'c.5||c.6||left(s0.3,6)'z0 'c.7||c.8||left(s0.4,3)'z0 'c.9||c.10||left(s0.5,24)'z0 'c.11||c.12||left(s0.6,17)'z0'
tr k.1' 0 'k.2'+ 'k.3'Dotoran 'k.4'8:06p 'k.5'576 'k.6'Buffalo, NY USA 'k.7'Idle 'k.2'7 'k.8'Minutes'
tr 'C'k.11"I'm the SysOp Here! Type OL0! & Say Hi!";tr k.1' 1 'k.2'h 'k.3'Seductress 'k.4'8:06p 'k.5'576 'k.6'Buffalo, NY USA 'k.7'Long WHO'
tr 'C'k.11'Hey Good Looking, What Ya Got Cooking?';tr k.1' 2 'k.3'<This is a LOCAL Port used for TESTING Purposes> 'k.7'Idle 'k.2'12 'k.8'Minutes';tr c.19||c.20||copies(s0.10,79)'z0n2';tr 'c7Press any key...g1';end
if v=3 then do;tr 'f1n3'c.1||c.2||left(s0.1,4)'z0 'c.3||c.4||left(s0.2,20)'z0 'c.5||c.6||left(s0.3,6)'z0 'c.7||c.8||left(s0.4,3)'z0 'c.9||c.10||left(s0.5,24)'z0 'c.11||c.12||left(s0.6,17)'z0'
tr k.1' 0 'k.2'+ 'k.3'Dotoran 'k.4'8:06p 'k.5'576 'k.6'Buffalo, NY USA 'k.7'Idle 'k.2'7 'k.8'Minutes'
tr k.30||k.31||center(s2.29,4)"z0"k.13": "k.8"23-Feb "c.13||c.14||center(s0.7,8)"z0 "k.9"*"k.33||k.34||center(s2.32,4)"z0"k.13": "k.10"48 "k.11"I'm the SysOp Here! Type OL0! & Say Hi!n1"
tr k.12'These three(3) lines are your personal "Glimpse" file, and may be edited by';tr 'pressing "G" from the prompt below. Your "History" file is a text file of up to'
tr '20 lines, where you may wish to supply even more "words of wisdom/info"!';tr c.17||c.18||copies(s0.9,79)'z0';tr k.1' 1 'k.2'h 'k.3'Seductress 'k.4'8:06p 'k.5'576 'k.6'Buffalo, NY USA 'k.7'Long WHO'
tr k.30||k.31||center(s2.29,4)'z0'k.13': 'k.8'23-Feb 'c.15||c.16||center(s0.8,8)'z0 'k.9'*'k.33||k.34||center(s2.32,4)'z0'k.13': 'k.10'48 'k.11'Hey Good Looking, What Ya Got Cooking?';tr c.17||c.18||copies(s0.9,79)'z0'
tr k.1' 2 'k.3'<This is a LOCAL Port used for TESTING Purposes> 'k.7'Idle 'k.2'12 'k.8'Minutes';tr c.19||c.20||copies(s0.10,79)'z0'
tr k.17'Long 'k.19'Who 'k.16'['k.15'B'k.16']'k.15'anner'k.17', 'k.16'['k.15'G'k.16']'k.15'limpse'k.17', 'k.16'['k.15'V'k.16']'k.15'iew 'k.18'History'k.17', or 'k.16'['k.20'QUIT'k.16']'k.17': 'k.20'Quitn2'
tr 'c7Press any key...g1';tr 'f1';do i=1 to 34;k.i='c's2.i;end i;tr k.23'r1 Your Short Who Banners r0n1';tr k.24' Current Banner';tr k.25'~~~~~~~~~~~~~~~~'
tr k.26'Banner 'k.27'0'k.28': 'k.3"Hi, I'm New here! Buzz me and say Hi!n1"; tr k.24' Banners On File';tr k.25'~~~~~~~~~~~~~~~~~'
do i=1 to 9;tr k.26'Banner 'k.27||i||k.28': 'k.3"Extra Banner (Type WHO B to edit Banner!)";end i